// 将多个组件中共用的代码抽象出来
module.exports = Behavior({
  properties: {
    myBehaviorProperty2: String,
  },
  data: {
    content2: 'myBehaviorData2',
    time2: '2021-6-22'
  },
  lifetimes: {
    attached() {
      console.log('我是behaviors2的attached');
      console.log('[behaviors2]:',this.properties);
      console.log('[data2]:',this.data);
    }
  },
  methods: {
    tapBtn() {
      console.log('我是behaviors22的方法');
    }
  },
})